import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/home.vue'
import About from '@/views/About.vue'
import Expert from '@/views/Expert.vue'
import WonderfulActivity from '@/views/WonderfulActivity.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect: '/home'
    },
    {
      path: '/home',
      name: 'home',
      component: Home
    },
    // {
    //   path:'/agenda',
    //   component:Agenda
    // },
    {
      path: '/about',
      component: About
    },
    {
        path:'/expert',
        component:Expert
    },
    {
        path:'/wonderful_activity',
        component:WonderfulActivity
    },
    // {
    //     path:'/exhibitor',
    //     component:Exhibitor
    // },
    // {
    //     path:'/results',
    //     component:Results
    // },
    // {
    //     path:'/news',
    //     component:News
    // },
    {
      path: '/guide',
      component: () => import("@/views/Guide.vue")
    },
    // {
    //     path:'/agenda_live',
    //     component:AgendaLive
    // },
    // {
    //     path:'/attendance_guide',
    //     component:AttendanceGuide
    // },
    {
      path: '/agenda_live',
      name: 'agenda_live',
      component: () => import("@/views/agenda_live.vue")
    },
    // {
    //     path:'/user',
    //     component:User
    // }
    {
      path: '/meeting',
      name: 'meeting',
      component: () => import("@/views/meeting.vue")
    },

  ]
})

export default router
